package com.example.chat.beans;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName("tb_background")
public class Background {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String filePath="";//背景图存储路径
    private String url="";//链接路径
    private int type;//1pc 2app
    private int status;//1开启 2关闭
    private int appType;//1引导页 2广告页 3无
    private long createTime;//创建时间
    private Integer createAdmin=0;//创建人
    @TableField(exist = false)
    private String createAdminName;
}
